<div class="header">
    <back-Btn></back-Btn>
    自定义流程
    <div class="right-btn" ng-click="submit()">
        提交
    </div>
</div>
<div class="container finance">
    <div class="list f_sk">
        <div class="list-item flex required icon_menu" ng-click="showtype()">
            <div class="w35 c9">类型:</div>
            <div class="w65">
                {{param.field1}}
            </div>
        </div>
        <label class="list-item flex required">
            <p class="w35 c9">标题:</p>
            <p class="w65">
                <input type="text" ng-model="param.title" />
            </p>
        </label>
        <label class="list-item flex required">
            <p class="w35 c9">事由:</p>
            <p class="w65">
                <input type="text" ng-model="param.content" />
            </p>
        </label>
        <div class="list-item flex icon_menu" ng-click="showrelModule()">
            <div class="w35 c9">关联模块:</div>
            <div class="w65">
                {{param.relatedModuleName}}
            </div>
        </div>
        <div class="flex list-item icon_rightArrow" ng-click="chooseinfo()" ng-class="{required:param.relatedModuleName&&param.relatedModuleName!=='无'}">
            <div class="w35 c9">模块编号:</div>
            <div class="w65" ng-class="{cd9:!param.moduleNo}">{{param.moduleNo||"点击选择"}}</div>
        </div>
        <div class="list-item list-item-textarea">
            <div class="c9">备注:</div>
            <textarea cols="30" rows="10" ng-model="param.remark"></textarea>
        </div>
        <div class="list-item flex icon_rightArrow required" ng-click="choosepeople()">
            <div class="w35 c9">审批人员:</div>
        </div>
        <div class="joinpeople-list mt10">
            <div class="joinpeople-item tc ng-scope" ng-repeat="item in param.users" track-by="item.userId">
                <div class="item-avtar lh50">{{item.name|username}}</div>
                <p class="te">{{item.name}}</p>
                <p class="icon_del1" ng-click="delpersons($index)">del</p>
            </div>
        </div>
        <div user-defined field-map="param.fieldMap" validation="validation"></div>
        <!-- 附件 -->
        <div class="list-item list-item-textarea" file-upload file-data="param.attachment">
        </div>
        <!-- 审查日志 -->
        <div log-list log-result='logData.result'></div>
        <!-- 删除流程 -->
        <div delete-flow id="{{param.processInstanceId}}" ng-show="logData.result.length"></div>
    </div>
</div>
<sheet-action ng-show="sheetObj.ifshowSheet" sheet-data="sheetObj"></sheet-action>